package com.culture.config.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.culture.config.dao.entity.App;
import com.github.pagehelper.Page;

@Mapper
public interface AppMapper {
	App get(@Param(value="appId") Long appId);
	App getByName(@Param(value="name") String name);
	Page<App> page(@Param(value="name") String name);
	List<App> list(@Param(value="name") String name);
	int add(App app);
	int update(App app);
}
